package org.jeecg.modules.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.system.entity.CrawlSiteFeatureDoc;


import java.util.List;

/**
 * @Author wt
 * @Date: 2024/9/26 9:42
 * @Description:
 */
public interface CrawlSiteFeatureDocMapper  extends BaseMapper<CrawlSiteFeatureDoc> {

    List<CrawlSiteFeatureDoc> querySiteFeatureDoc(Page<CrawlSiteFeatureDoc> page,@Param("articleName") String articleName,
                                                  @Param("crawlSiteFeatureDoc") CrawlSiteFeatureDoc crawlSiteFeatureDoc);
    /**
     * 新增
     *
     * @return 结果
     */
    public int insertCrawlSiteFeatureDoc(CrawlSiteFeatureDoc crawlSiteFeatureDoc);


    public boolean updateCrawlSiteFeatureDoc(CrawlSiteFeatureDoc crawlSiteFeatureDoc);

    /**
     * 删除变量
     * @param id
     * @return
     */
    public int deleteFeatureDoc(Long id);

    /**
     * 批量删除
     * @param ids
     * @return
     */
    public int deleteBatchFeatureDoc(Long[] ids);
}
